package cn.px.dao.mapper.store;

import cn.px.dao.dto.store.OutStoreFormDTO;
import cn.px.dao.config.MyMapper;
import cn.px.dao.entity.store.OutStoreForm;
import cn.px.dao.vo.export.store.ExportOutStoreSpareNumVO;
import cn.px.dao.vo.query.store.OutStoreDetailVO;
import cn.px.dao.vo.query.store.OutStoreFormVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;


/**
 * @Description 出库登记单 mapper
 * @author 品讯科技
 * @date 2024-08
 * @Version Copyright (c) 2020,北京乾元坤和科技有限公司 All rights reserved.
 */
@Component
public interface OutStoreFormMapper extends MyMapper<OutStoreForm> {

    List<OutStoreFormVO> getOutStoreFormCollect(OutStoreFormDTO dto);

    List<ExportOutStoreSpareNumVO> getOutStoreSpareNum(OutStoreFormDTO dto);

    List<OutStoreFormVO> getOutStoreForm(OutStoreFormDTO dto);
    /**
     * 分页查询
     * @param dto
     * @return
     */
    List<OutStoreFormVO> selectList(OutStoreFormDTO dto);

    /**
     * 查询详情列表
     * @param id
     * @return
     */
    List<OutStoreDetailVO> selectDetailList(@Param("id") Object id);

}
